package com.whiteape.book.contract;


import com.whiteape.book.model.dto.CollectionMediaBean;
import com.whiteape.book.ui.base.BaseContract;

import java.util.List;


public interface MediaCollectionContract {

    interface View extends BaseContract.BaseView{
        void finishRefresh(List<CollectionMediaBean> collectionMediaBeans);
        void finishUpdate();
        void showErrorTip(String error);
    }

    interface Presenter extends BaseContract.BasePresenter<View>{
        void refreshCollectionMedia(int mediaType);
        void createDownloadTask(CollectionMediaBean collectionMediaBean);
        void updateCollectionMedia(List<CollectionMediaBean> collectionMediaBeans);
        void loadRecommendMedia(String gender);
    }
}
